//package com.ocom.mqsimple.controller;
//
//
//import com.ocom.common.constant.MqSimpleApiUrl;
//import com.ocom.common.enums.ResultEnum;
//import com.ocom.common.request.simple.BigFileRequest;
//import com.ocom.common.resp.Result;
//import com.ocom.common.utils.ResultUtil;
//import com.ocom.mqsimple.business.bigfile.BigFileProductService;
//import lombok.extern.slf4j.Slf4j;
//import org.slf4j.Logger;
//import org.slf4j.LoggerFactory;
//import org.springframework.beans.factory.annotation.Autowired;
//import org.springframework.web.bind.annotation.PostMapping;
//import org.springframework.web.bind.annotation.RequestBody;
//import org.springframework.web.bind.annotation.RestController;
//
//
//@Slf4j
//@RestController
//public class BigFileMqController {
//    private Logger logger = LoggerFactory.getLogger(BigFileMqController.class);
//
//
//    @Autowired
//    private BigFileProductService bigFileProductService;
//
//    @PostMapping(MqSimpleApiUrl.URL_BigFileHandle)
//    public Result BigFileHandle(@RequestBody BigFileRequest request){
//        try {
//            bigFileProductService.handle(request);
//        }catch (Exception e){
//            logger.error("大文件-发送mq失败  错误【{}】",e);
//            return ResultUtil.error(ResultEnum.Err_4006);
//        }
//        return ResultUtil.success();
//    }
//}
